//
//  AboutViewController.m
//  Coco_Music
//
//  Created by K。 on 15/7/3.
//  Copyright (c) 2015年 寇广超. All rights reserved.
//
#define SCREEN_WIDTH ([UIScreen mainScreen].bounds.size.width)
#define SCREEN_HEIGHT ([UIScreen mainScreen].bounds.size.height)
#import "AboutViewController.h"
#import "WebColor.h"
@interface AboutViewController ()

@end

@implementation AboutViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    self.view.backgroundColor = [WebColor ivory];
    //    [self.view setAlpha:0];
    UILabel *zitiLabel = [[UILabel alloc] initWithFrame:CGRectMake(10, 10, 30, 30)];
    zitiLabel.font = [UIFont fontWithName:@"SXSLKF" size:20];
    zitiLabel.text = @"海洋背后的男人";
    self.navigationItem.titleView = zitiLabel;
    self.navigationItem.leftBarButtonItem = [[UIBarButtonItem alloc]initWithImage:[UIImage imageNamed:@"btn_back.png"] style:UIBarButtonItemStyleDone target:self action:@selector(buttonAction:)];
    UILabel *label = [[UILabel alloc] initWithFrame:CGRectMake(20, 15, SCREEN_WIDTH - 40, SCREEN_HEIGHT * 0.5)];
    label.text = @"    这些年我们从未走散,你们在,Coco音乐就一直在";
    label.numberOfLines = 0;
    label.font = [UIFont fontWithName:@"SXSLKF" size:20];
    [self.view addSubview:label];
    UILabel *label2 = [[UILabel alloc] initWithFrame:CGRectMake(30, SCREEN_HEIGHT * 0.42, SCREEN_WIDTH - 40, SCREEN_HEIGHT * 0.15)];
    label2.text = @"  ★ 所有音乐视频均来源于互联网\n  ★ 作品版权归原作者所有";
    label2.numberOfLines = 0;
    label2.font = [UIFont fontWithName:@"SXSLKF" size:16];
    [self.view addSubview:label2];
    
    
    UIImageView *ima = [[UIImageView alloc] initWithFrame:CGRectMake(30, SCREEN_HEIGHT / 2 + 40, 120, 120)];
    [ima setImage:[UIImage imageNamed:@"屏幕快照 2015-07-01 下午7.25.49.png"]];
    [self.view addSubview:ima];
    UILabel *label3 = [[UILabel alloc] initWithFrame:CGRectMake(SCREEN_WIDTH / 2, SCREEN_HEIGHT / 2 + 40, SCREEN_WIDTH - 40, SCREEN_HEIGHT * 0.2)];
    label3.text = @" 扫一扫\n\n联系我们";
    label3.numberOfLines = 0;
    label3.font = [UIFont fontWithName:@"SXSLKF" size:18];
    [self.view addSubview:label3];
    
    UILabel *label4 = [[UILabel alloc] initWithFrame:CGRectMake(SCREEN_WIDTH / 2 - 60, SCREEN_HEIGHT - 20, 120, 20)];
    label4.text = @"© 海洋背后的男人";
    [label4 sizeToFit];
    label4.font = [UIFont fontWithName:@"SXSLKF" size:15];
    [self.view addSubview:label4];
    
    // Do any additional setup after loading the view.
}
- (void)buttonAction:(UIButton *)button
{
    [self.navigationController popToRootViewControllerAnimated:YES];
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}


/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
